package com.fyzk.activity.lottery.recommend_order;

import com.fyzk.utils.StringUtils;

import java.io.Serializable;
import java.util.List;

/**
 * Created by fanxs11 on 2017/7/6.
 */

public class MyRecommendOrderBean implements Serializable {

    /**
     * preferentialAmount : 0
     * detail : {"playName":"2串1","raceBetcode":[{"awayTeam":"蒙特利尔冲击","matchDate":"2017-07-06 08:30:00","homeScore":"","contents":[{"result":"","betcode":"胜(-.-)","lotteryTypeName":"竞彩足球胜平负"}],"status":4,"dan":0,"officialWeekDay":"周三","handicap":"-1","matchName":"美职足","homeTeam":"休斯敦迪纳摩","matchNum":"006","awayScore":""},{"awayTeam":"米内罗竞技","matchDate":"2017-07-06 08:45:00","homeScore":"","contents":[{"result":"","betcode":"让球胜(-.-)","lotteryTypeName":"竞彩足球让球胜平负"}],"status":4,"dan":0,"officialWeekDay":"周三","handicap":"+1","matchName":"解放者杯","homeTeam":"维尔斯特曼","matchNum":"007","awayScore":""}]}
     * orderStatusName : 已出票
     * recommendId : 170705000000000030
     * orderResultStatusName : 未开奖
     * addition : 0
     * orderStatus : 3
     * orderResultStatus : 5
     * amount : 200
     * betnum : 1
     * betcode : 301112001-20170705006*3010(3)|20170705007*3006(3)^
     * bettype : 投注
     * prize : 0
     * receiveTime : 2017-07-05 18:32:45
     * lotteryType : 3011
     * lotteryTypeName : 竞彩足球混合过关
     * orderid : FT170705000014211777
     * multiple : 1
     * phase : 20170705
     */

    private int preferentialAmount;
    /**
     * playName : 2串1
     * raceBetcode : [{"awayTeam":"蒙特利尔冲击","matchDate":"2017-07-06 08:30:00","homeScore":"","contents":[{"result":"","betcode":"胜(-.-)","lotteryTypeName":"竞彩足球胜平负"}],"status":4,"dan":0,"officialWeekDay":"周三","handicap":"-1","matchName":"美职足","homeTeam":"休斯敦迪纳摩","matchNum":"006","awayScore":""},{"awayTeam":"米内罗竞技","matchDate":"2017-07-06 08:45:00","homeScore":"","contents":[{"result":"","betcode":"让球胜(-.-)","lotteryTypeName":"竞彩足球让球胜平负"}],"status":4,"dan":0,"officialWeekDay":"周三","handicap":"+1","matchName":"解放者杯","homeTeam":"维尔斯特曼","matchNum":"007","awayScore":""}]
     */

    private DetailBean detail;
    private String orderStatusName;
    private String recommendId;
    private String orderResultStatusName;
    private int addition;
    private int orderStatus;
    private int orderResultStatus;
    private int amount;
    private int betnum;
    private String betcode;
    private String bettype;
    private int prize;
    private String receiveTime;
    private String endTime;
    private int lotteryType;
    private String lotteryTypeName;
    private String orderid;
    private int multiple;
    private String phase;
    private String userName;
    private String userno;
    private int winCount;
    private int totalCount;
    private int way;
    private int isexpert;//1认证大神，0不是
    private boolean showTz = true;
    private List<MyRecommendOrderUserBean> gdUser;
    private String isShowAmt;//是否显示跟单金额。0显示，1不显示
    private String memo;//宣言
    private String userPhotoUrl;//头像
    private String popularity;
    private int proportions;//佣金比例

    private String isShowMaxSP;
    private double maxSp;
    /**
     * followCount : 0
     * followTotalAmount : 0
     * playName : 2串1
     * startingAmount : 2
     */
    private long followCount;
    private double followTotalAmount;
    private String playName;
    private long startingAmount;

    private int followTotalNumber;//跟单人数
    /**
     * followCount : 0
     * maxSp : 0
     * prizeOptimize : 0
     * isShowMaxSp : 1
     * followTotalAmount : 0
     * expectedPrize :
     * startingAmount : 4
     */
    private int prizeOptimize;
    private String isShowMaxSp;
    private String expectedPrize;
    private int evenRed;

    public String getIsShowMaxSP() {
        return isShowMaxSP;
    }

    public void setIsShowMaxSP(String isShowMaxSP) {
        this.isShowMaxSP = isShowMaxSP;
    }

    public double getMaxSp() {
        return maxSp;
    }

    public void setMaxSp(double maxSp) {
        this.maxSp = maxSp;
    }

    public String getPopularity() {
        return popularity;
    }

    public void setPopularity(String popularity) {
        this.popularity = popularity;
    }

    public int getProportions() {
        return proportions;
    }

    public void setProportions(int proportions) {
        this.proportions = proportions;
    }

    public String getUserPhotoUrl() {
        return userPhotoUrl;
    }

    public void setUserPhotoUrl(String userPhotoUrl) {
        this.userPhotoUrl = userPhotoUrl;
    }

    public String getMemo() {
        return memo;
    }

    public void setMemo(String memo) {
        this.memo = memo;
    }

    public String getIsShowAmt() {
        return isShowAmt;
    }

    public void setIsShowAmt(String isShowAmt) {
        this.isShowAmt = isShowAmt;
    }

    public MyRecommendBean getUserBean() {
        return userBean;
    }

    public void setUserBean(MyRecommendBean userBean) {
        this.userBean = userBean;
    }

    private MyRecommendBean userBean;

    public String getItem() {
        return item;
    }

    public void setItem(String item) {
        this.item = item;
    }

    private String item = "normal";

    public boolean isShowTz() {
        return showTz;
    }

    public void setShowTz(boolean showTz) {
        this.showTz = showTz;
    }

    public int getPreferentialAmount() {
        return preferentialAmount;
    }

    public void setPreferentialAmount(int preferentialAmount) {
        this.preferentialAmount = preferentialAmount;
    }

    public DetailBean getDetail() {
        return detail;
    }

    public void setDetail(DetailBean detail) {
        this.detail = detail;
    }

    public String getOrderStatusName() {
        return orderStatusName;
    }

    public void setOrderStatusName(String orderStatusName) {
        this.orderStatusName = orderStatusName;
    }

    public String getRecommendId() {
        return recommendId;
    }

    public void setRecommendId(String recommendId) {
        this.recommendId = recommendId;
    }

    public String getOrderResultStatusName() {
        return orderResultStatusName;
    }

    public void setOrderResultStatusName(String orderResultStatusName) {
        this.orderResultStatusName = orderResultStatusName;
    }

    public int getAddition() {
        return addition;
    }

    public void setAddition(int addition) {
        this.addition = addition;
    }

    public int getOrderStatus() {
        return orderStatus;
    }

    public void setOrderStatus(int orderStatus) {
        this.orderStatus = orderStatus;
    }

    public int getOrderResultStatus() {
        return orderResultStatus;
    }

    public void setOrderResultStatus(int orderResultStatus) {
        this.orderResultStatus = orderResultStatus;
    }

    public int getAmount() {
        return amount;
    }

    public void setAmount(int amount) {
        this.amount = amount;
    }

    public int getBetnum() {
        return betnum;
    }

    public void setBetnum(int betnum) {
        this.betnum = betnum;
    }

    public String getBetcode() {
        return betcode;
    }

    public void setBetcode(String betcode) {
        this.betcode = betcode;
    }

    public String getBettype() {
        return bettype;
    }

    public void setBettype(String bettype) {
        this.bettype = bettype;
    }

    public int getPrize() {
        return prize;
    }

    public void setPrize(int prize) {
        this.prize = prize;
    }

    public String getReceiveTime() {
        return receiveTime;
    }

    public void setReceiveTime(String receiveTime) {
        this.receiveTime = receiveTime;
    }

    public String getEndTime() {
        return endTime;
    }

    public void setEndTime(String endTime) {
        this.endTime = endTime;
    }

    public int getLotteryType() {
        return lotteryType;
    }

    public void setLotteryType(int lotteryType) {
        this.lotteryType = lotteryType;
    }

    public String getLotteryTypeName() {
        return lotteryTypeName;
    }

    public void setLotteryTypeName(String lotteryTypeName) {
        this.lotteryTypeName = lotteryTypeName;
    }

    public String getOrderid() {
        return orderid;
    }

    public void setOrderid(String orderid) {
        this.orderid = orderid;
    }

    public int getMultiple() {
        return multiple;
    }

    public void setMultiple(int multiple) {
        this.multiple = multiple;
    }

    public String getPhase() {
        return phase;
    }

    public void setPhase(String phase) {
        this.phase = phase;
    }

    public String getUserName() {
        return StringUtils.formatBindMobile(userName);
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getUserno() {
        return userno;
    }

    public void setUserno(String userno) {
        this.userno = userno;
    }

    public int getWinCount() {
        return winCount;
    }

    public void setWinCount(int winCount) {
        this.winCount = winCount;
    }

    public int getTotalCount() {
        return totalCount;
    }

    public void setTotalCount(int totalCount) {
        this.totalCount = totalCount;
    }

    public int getWay() {
        return way;
    }

    public void setWay(int way) {
        this.way = way;
    }

    public int getIsexpert() {
        return isexpert;
    }

    public void setIsexpert(int isexpert) {
        this.isexpert = isexpert;
    }

    public List<MyRecommendOrderUserBean> getGdUser() {
        return gdUser;
    }

    public void setGdUser(List<MyRecommendOrderUserBean> gdUser) {
        this.gdUser = gdUser;
    }

    public long getFollowCount() {
        return followCount;
    }

    public void setFollowCount(long followCount) {
        this.followCount = followCount;
    }

    public double getFollowTotalAmount() {
        return followTotalAmount;
    }

    public void setFollowTotalAmount(double followTotalAmount) {
        this.followTotalAmount = followTotalAmount;
    }

    public int getFollowTotalNumber() {
        return followTotalNumber;
    }

    public void setFollowTotalNumber(int followTotalNumber) {
        this.followTotalNumber = followTotalNumber;
    }

    public String getPlayName() {
        return playName;
    }

    public void setPlayName(String playName) {
        this.playName = playName;
    }

    public long getStartingAmount() {
        return startingAmount;
    }

    public void setStartingAmount(long startingAmount) {
        this.startingAmount = startingAmount;
    }

    public int getPrizeOptimize() {
        return prizeOptimize;
    }

    public void setPrizeOptimize(int prizeOptimize) {
        this.prizeOptimize = prizeOptimize;
    }

    public String getIsShowMaxSp() {
        return isShowMaxSp;
    }

    public void setIsShowMaxSp(String isShowMaxSp) {
        this.isShowMaxSp = isShowMaxSp;
    }

    public String getExpectedPrize() {
        return expectedPrize;
    }

    public void setExpectedPrize(String expectedPrize) {
        this.expectedPrize = expectedPrize;
    }

    public int getEvenRed() {
        return evenRed;
    }

    public void setEvenRed(int evenRed) {
        this.evenRed = evenRed;
    }

    public static class DetailBean implements Serializable {
        private String playName;
        /**
         * awayTeam : 蒙特利尔冲击
         * matchDate : 2017-07-06 08:30:00
         * homeScore :
         * contents : [{"result":"","betcode":"胜(-.-)","lotteryTypeName":"竞彩足球胜平负"}]
         * status : 4
         * dan : 0
         * officialWeekDay : 周三
         * handicap : -1
         * matchName : 美职足
         * homeTeam : 休斯敦迪纳摩
         * matchNum : 006
         * awayScore :
         */

        private List<RaceBetcodeBean> raceBetcode;

        public String getPlayName() {
            return playName;
        }

        public void setPlayName(String playName) {
            this.playName = playName;
        }

        public List<RaceBetcodeBean> getRaceBetcode() {
            return raceBetcode;
        }

        public void setRaceBetcode(List<RaceBetcodeBean> raceBetcode) {
            this.raceBetcode = raceBetcode;
        }

        public static class RaceBetcodeBean implements Serializable {
            private String awayTeam;
            private String matchDate;
            private String homeScore;
            private int status;
            private int dan;
            private String officialWeekDay;
            private String handicap;
            private String matchName;
            private String homeTeam;
            private String matchNum;
            private String awayScore;
            /**
             * result :
             * betcode : 胜(-.-)
             * lotteryTypeName : 竞彩足球胜平负
             */

            private List<ContentsBean> contents;

            public String getAwayTeam() {
                return awayTeam;
            }

            public void setAwayTeam(String awayTeam) {
                this.awayTeam = awayTeam;
            }

            public String getMatchDate() {
                return matchDate;
            }

            public void setMatchDate(String matchDate) {
                this.matchDate = matchDate;
            }

            public String getHomeScore() {
                return homeScore;
            }

            public void setHomeScore(String homeScore) {
                this.homeScore = homeScore;
            }

            public int getStatus() {
                return status;
            }

            public void setStatus(int status) {
                this.status = status;
            }

            public int getDan() {
                return dan;
            }

            public void setDan(int dan) {
                this.dan = dan;
            }

            public String getOfficialWeekDay() {
                return officialWeekDay;
            }

            public void setOfficialWeekDay(String officialWeekDay) {
                this.officialWeekDay = officialWeekDay;
            }

            public String getHandicap() {
                return handicap;
            }

            public void setHandicap(String handicap) {
                this.handicap = handicap;
            }

            public String getMatchName() {
                return matchName;
            }

            public void setMatchName(String matchName) {
                this.matchName = matchName;
            }

            public String getHomeTeam() {
                return homeTeam;
            }

            public void setHomeTeam(String homeTeam) {
                this.homeTeam = homeTeam;
            }

            public String getMatchNum() {
                return matchNum;
            }

            public void setMatchNum(String matchNum) {
                this.matchNum = matchNum;
            }

            public String getAwayScore() {
                return awayScore;
            }

            public void setAwayScore(String awayScore) {
                this.awayScore = awayScore;
            }

            public List<ContentsBean> getContents() {
                return contents;
            }

            public void setContents(List<ContentsBean> contents) {
                this.contents = contents;
            }

            public static class ContentsBean implements Serializable {
                private String result;
                private String betcode;
                private String lotteryTypeName;

                public String getResult() {
                    return result;
                }

                public void setResult(String result) {
                    this.result = result;
                }

                public String getBetcode() {
                    return betcode;
                }

                public void setBetcode(String betcode) {
                    this.betcode = betcode;
                }

                public String getLotteryTypeName() {
                    return lotteryTypeName;
                }

                public void setLotteryTypeName(String lotteryTypeName) {
                    this.lotteryTypeName = lotteryTypeName;
                }
            }
        }
    }
}
